package psn.kiko.annotation.sql;

import psn.kiko.enumeration.DataBaseOperationType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <h3 style="color:blue">此注解标注于Mapper接口的抽象方法，指明该方法需要通过AOP拦截进行公共字段的填充</h3>
 * @see NeedCommonFiledAutoSet
 * @see psn.kiko.aspect.CommonFiledAutoSetAspect
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)

public @interface CommonFiledAutoSet {
	/**
	 * @return 数据库操作类型
	 */
	DataBaseOperationType value( );
}
